﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZICMonitor
{
    public class DefectedProduct
    {
        public string idc;
    }
    public class CarRecordSend
    {
        public int AnchiId { get; set; }//最大ID
        public string CreateTime { get; set; }//发生故障时间
        public string DeviceId { get; set; }//SIM卡号
        public string DisplayOrder { get; set; }//故障等级 A,B,C,D 等级
        public int Distance { get; set; }//里程
        public string IsCrash { get; set; }//是否故障车
        public string TroubleCodeId { get; set; }//故障码
        public string TroubleContent { get; set; }//故障码库
        public string Desc { get; set; }//故障描述
        public string yuanshiTrouble { get; set; }//原始故障码
        public string Ex { get; set; }//1:常发，0：偶发
        public string Excontent { get; set; }//常发、偶发等信息
        public string ids { get; set; }


    }

     
        public class CrashModel
        {
            public string CrashTime { get; set; }//救援时间
            public int Id { get; set; }
            public string Idc { get; set; }
            public string ids { get; set; }
        }
        public class dayinfoModel
        {
            public Int32 id { get; set; }
            public String IDS { get; set; }
            public String Pwd { get; set; }
            //public DateTime StatisticsTime { get; set; }
            public string StatisticsTime { get; set; }
            public Int32 register_idc { get; set; }
            public Int32 trouble_idc { get; set; }
            public Int32 alarm_idc { get; set; }
            public Int32 conservation_care_idc { get; set; }
            public Int32 conservation_nocare_idc { get; set; }
            public Int32 conservation_trouble_care_idc { get; set; }
            public Int32 conservation_trouble_nocare_idc { get; set; }
            public Int32 noback_idc { get; set; }
        }
        public class daycartypeModel
        {
            public Int32 id { get; set; }
            public String IDS { get; set; }
            //public DateTime? StatisticsTime { get; set; }
            public string StatisticsTime { get; set; }
            public String carmodel { get; set; }
            public Int32 Troubletype { get; set; }
            public Int32 IDCCOUNT { get; set; }
            
        }
        public class ServerTjRecordModel
        {

            // Properties
            public string Anchitime { get; set; }//报警时间
            public string CompanyName { get; set; }//公司名(没用）
            //public DateTime? Createmonth { get; set; }//發生的月份
            //public DateTime? CreateTime { get; set; }//插入时间
            public string Createmonth { get; set; }//發生的月份
            public string CreateTime { get; set; }//插入时间
            public decimal? Fun { get; set; }//系统打的分数
            public int Id { get; set; }//
            public string Idc { get; set; }//IDC
            public int Ids { get; set; }//IDS
            //public DateTime? Tracetime { get; set; }//响应时间
            public string Tracetime { get; set; }//响应时间
            public int Type { get; set; }//类型(1,2 :报警       3,4：保养       5,6：故障)
        }
        public class DeviceStatu
        {
            public string idc;
            public int statu;//0:不可用，１：可用
        }

    
}
